package org.csu.gp_store.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.sql.Timestamp;

@Data
@TableName("cart_item")
public class CartItem {
    @TableId(value = "cartID",type = IdType.ASSIGN_ID)
    private Long cartID;
    @TableField("accountID")
    private Long accountID;
    @TableField("itemID")
    private Long itemID;
    private Integer quantity;
    @TableField("add_Time")
    private Timestamp addTime;
}
